package bom.configuration.dataSource;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * @Author: Fancyears·Maylos·Maywas
 * @Description: DRUID过滤器
 * @Date: Created in 2018/11/23 23:10
 * @Modified By:
 */


@WebFilter(
        filterName = "druidWebStatFilter",
        urlPatterns = "/*",
        initParams = {
                // 忽略资源
                @WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*")
        })

public class DruidStatFilter extends WebStatFilter {

}